package com.yzf.enterprise.common.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shadowyy
 * @version 2020/4/24 11:47
 */
public final class MapUtil {

    public static <K, V> Map<K, V> newHashMap(K key, V value) {
        Map<K, V> map = new HashMap<>();
        map.put(key, value);
        return map;
    }

    private MapUtil(){
    }
}
